﻿<!DOCTYPE html>
<html lang="en">
<#include "../common/common-head.html"/>
<body class="gray-bg top-navigation">
<div id="wrapper">
    <div id="page-wrapper" class="gray-bg">
    <#include "../common/common-menu.html">
        <div class="wrapper wrapper-content">
            <div class="row white-bg" style="padding: 18px 0">
                <div class="col-xs-12">

                    <form class="form-horizontal m-t"
                          action="${basePath}/admin/userapply/verify/${userapply.id}" method="post"
                          onsubmit="return check()">
                        <div class="col-xs-6 ">
                            <div class="form-group">
                                <label class="col-xs-3 control-label">代理账号号码：</label>
                                <div class="col-xs-8">
                                    <input value="${userapply.agent!}"
                                           class="form-control" type="text" readonly>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-xs-3 control-label">货币：</label>
                                <div class="col-xs-8">
                                    <input value="${userapply.huobi!}" class="form-control" type="text"
                                           readonly>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-xs-3 control-label">账户类型：</label>
                                <div class="col-xs-8">
                                    <input value="${userapply.zhanghuleixing!}"
                                           class="form-control" type="text" readonly>
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-xs-3 control-label">预计初始存款：</label>
                                <div class="col-xs-8">
                                    <input value="${userapply.deposit!}" readonly class="form-control"
                                           type="text">
                                </div>
                            </div>


                            <div class="form-group">
                                <label class="col-xs-3 control-label">客户类型：</label>
                                <div class="col-xs-8">
                                    <input value="${userapply.client?switch('individual','个人','joint','联合','公司')}"
                                           readonly class="form-control">
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-xs-3 control-label">居住城市：</label>
                                <div class="col-xs-8">
                                    <input value="${userapply.city!}" readonly class="form-control">
                                </div>
                            </div>


                            <div class="form-group">
                                <label class="col-xs-3 control-label">国籍：</label>
                                <div class="col-xs-8">
                                    <input value="${userapply.nationlity!}" readonly class="form-control">
                                </div>
                            </div>


                            <div class="form-group">
                                <label class="col-xs-3 control-label">性别：</label>
                                <div class="col-xs-8">
                                    <input value="${userapply.sex?switch('male','男','女')}"
                                           type="text" readonly class="form-control">
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-xs-3 control-label">姓名：</label>
                                <div class="col-xs-8">
                                    <input value="${userapply.username!}" type="text" readonly
                                           class="form-control">
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-xs-3 control-label">证件号：</label>
                                <div class="col-xs-8">
                                    <input value="${userapply.idcard!}" type="text" readonly
                                           class="form-control">
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-xs-3 control-label">证件正反面：</label>
                                <div class="col-xs-4">
                                <#if userapply.houseimg1?? >
                                    <#list userapply.houseimg1?split("#") as item >
                                        <#if item!?length gt 0>
                                            <img src="${basePath}/upload/${item!}" width="300px"
                                                 height="200px">
                                            <br/>
                                        </#if>
                                    </#list>
                                </#if>
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-xs-3 control-label">出生日期：</label>
                                <div class="col-xs-8">
                                    <input value="${userapply.year! userapply.month! userapply.day!}"
                                           type="text"
                                           readonly
                                           class="form-control">
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-xs-3 control-label">婚姻状况：</label>
                                <div class="col-xs-4">
                                    <input value="${userapply.marital! }" type="text" readonly
                                           class="form-control">
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-xs-3 control-label"> 电子邮件：</label>
                                <div class="col-xs-8">
                                    <input value="${userapply.email!}" type="text" readonly
                                           class="form-control">
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-xs-3 control-label">手机号码：</label>
                                <div class="col-xs-8">
                                    <input value="${userapply.phone!}" type="text" readonly
                                           class="form-control">
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-xs-3 control-label">传真：</label>
                                <div class="col-xs-8">
                                    <input value="${userapply.fax!}" type="text" readonly
                                           class="form-control">
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-xs-3 control-label">住宅地址：</label>
                                <div class="col-xs-8">
                                    <input value="${userapply.address!}" type="text" readonly
                                           class="form-control">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-xs-3 control-label">邮寄地址：</label>
                                <div class="col-xs-8">
                                    <input value="${userapply.postaddress!}" type="text" readonly
                                           class="form-control">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-xs-3 control-label">省市：</label>
                                <div class="col-xs-8">
                                    <input value="${userapply.province!}" type="text" readonly
                                           class="form-control">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-xs-3 control-label">邮编：</label>
                                <div class="col-xs-8">
                                    <input value="${userapply.postcode!}" type="text" readonly
                                           class="form-control">
                                </div>
                            </div>


                            <div class="form-group">
                                <label class="col-xs-3 control-label">工作状况：</label>
                                <div class="col-xs-8">
                                    <input value="${userapply.employment!}" type="text" readonly
                                           class="form-control">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-xs-3 control-label">公司名称：</label>
                                <div class="col-xs-8">
                                    <input value="${userapply.companyname!}" type="text" readonly
                                           class="form-control">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-xs-3 control-label">公司地址：</label>
                                <div class="col-xs-8">
                                    <input value="${userapply.companyaddress!}" type="text" readonly
                                           class="form-control">
                                </div>
                            </div>

                        </div>
                        <div class="col-xs-6 ">

                            <div class="form-group">
                                <label class="col-xs-3 control-label">业务性质：</label>
                                <div class="col-xs-8">
                                    <input value="${userapply.naturebusiness!}" type="text" readonly
                                           class="form-control">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-xs-3 control-label">职位：</label>
                                <div class="col-xs-8">
                                    <input value="${userapply.position!}" type="text" readonly
                                           class="form-control">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-xs-3 control-label">政府部门官员职位：</label>
                                <div class="col-xs-8">
                                    <input value="${userapply.relationsNote!}" type="text" readonly
                                           class="form-control">
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-xs-3 control-label">收入来源：</label>
                                <div class="col-xs-8">
                                    <input value="${userapply.income!}" type="text" readonly
                                           class="form-control">
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-xs-3 control-label">年收入或盈利（美元）：</label>
                                <div class="col-xs-8">
                                    <input value="${userapply.profit!}" type="text" readonly
                                           class="form-control">
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-xs-3 control-label">净资产（美元）：</label>
                                <div class="col-xs-8">
                                    <input value="${userapply.assets!}" type="text" readonly
                                           class="form-control">
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-xs-3 control-label">了解交易杠杆衍生性商品所涉及的风险：</label>
                                <div class="col-xs-8">
                                    <input value="${userapply.risk!}" type="text" readonly
                                           class="form-control">
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-xs-3 control-label">银行名称：</label>
                                <div class="col-xs-8">
                                    <input value="${userapply.bankname!}" type="text" readonly
                                           class="form-control">
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-xs-3 control-label">所属支行：</label>
                                <div class="col-xs-8">
                                    <input value="${userapply.bankaddress! userapply.bankaddress2! userapply.bankaddress3!}"
                                           type="text" readonly
                                           class="form-control">
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-xs-3 control-label">账户持有人姓名：</label>
                                <div class="col-xs-8">
                                    <input value="${userapply.accountholder!}" type="text" readonly
                                           class="form-control">
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-xs-3 control-label">国际汇款代码：</label>
                                <div class="col-xs-8">
                                    <input value="${userapply.swift!}" type="text" readonly
                                           class="form-control">
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-xs-3 control-label">银行账号：</label>
                                <div class="col-xs-8">
                                    <input value="${userapply.accountcode!}" type="text" readonly
                                           class="form-control">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-xs-3 control-label">Forex：</label>
                                <div class="col-xs-8">
                                    <input value="${userapply.forxselect!}" type="text" readonly
                                           class="form-control">
                                </div>
                            </div>


                            <div class="form-group">
                                <label class="col-xs-3 control-label">CFDs：</label>
                                <div class="col-xs-8">
                                    <input value="${userapply.cfdsselect!}" type="text" readonly
                                           class="form-control">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-xs-3 control-label">大宗商品：</label>
                                <div class="col-xs-8">
                                    <input value="${userapply.commoditiesselect!}" type="text" readonly
                                           class="form-control">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-xs-3 control-label">期货/期权：</label>
                                <div class="col-xs-8">
                                    <input value="${userapply.futuresselect!}" type="text" readonly
                                           class="form-control">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-xs-3 control-label">债券/股票：</label>
                                <div class="col-xs-8">
                                    <input value="${userapply.shareselect!}" type="text" readonly
                                           class="form-control">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-xs-3 control-label"> 通过渠道：</label>
                                <div class="col-xs-8">
                                    <input value="${userapply.hearus!}" type="text" readonly
                                           class="form-control">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-xs-3 control-label">模拟账户：</label>
                                <div class="col-xs-8">
                                    <input value="${userapply.demotext!}" type="text" readonly
                                           class="form-control">
                                </div>
                            </div>


                            <div class="form-group">
                                <label class="col-xs-3 control-label">状态：</label>
                                <div class="col-xs-8">
                                    <input value="${userapply.status!}" type="text" readonly
                                           class="form-control">
                                </div>
                            </div>

                        <#if "待审核" = userapply.status! && sessionAuth?? && sessionAuth?seq_contains("verifyApply")>
                            <div class="form-group">
                                <label class="col-xs-3 control-label">审核：</label>
                                <div class="col-xs-8">
                                    <input type="radio" name="result" value="yes">通过
                                    <input type="radio" checked name="result" value="no">不通过
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-xs-3 control-label">用户类型：</label>
                                <div class="col-xs-8">
                                    <input type="radio" checked name="usertype" value="user">普通用户
                                    <#if userapply.agent!?length == 0 ><input type="radio" name="usertype"
                                                                              value="agent">代理用户</#if>
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-xs-3 control-label">MT4账户：</label>
                                <div class="col-xs-8">
                                    <input name="mt4account" type="text" value="${userapply.mt4account!}"
                                           class="form-control">
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-xs-3 control-label">MT4密码：</label>
                                <div class="col-xs-8">
                                    <input name="mt4pwd" type="text"
                                           class="form-control">
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-xs-3 control-label">只读密码：</label>
                                <div class="col-xs-8">
                                    <input name="readpwd" type="text"
                                           class="form-control">
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-xs-3 control-label">交易杠杆：</label>
                                <div class="col-xs-8">
                                    <input name="lever" type="text"
                                           class="form-control">
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-xs-3 control-label">登录用户名：</label>
                                <div class="col-xs-8">
                                    <input name="loginname" type="text"
                                           class="form-control">
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-xs-3 control-label">登录密码：</label>
                                <div class="col-xs-8">
                                    <input name="loginpassword" type="text"
                                           class="form-control">
                                </div>
                            </div>
                            <a href="" target="_self"></a>

                            <div class="form-group">
                                <div class="col-xs-8 col-xs-offset-3">
                                    <button class="btn btn-primary" type="submit">提交</button>
                                </div>
                            </div>
                        </#if>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>

</body>
</html>

